#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>


int main()
{
	int s[10];
	for (int i = 0; i<10; i++){
		scanf("%d", &s[i]);
	}

	for (int i = 0; i<9; i++){
		for (int j = i + 1; j<10; j++){
			if (s[i]<s[j]){
				int t;
				t = s[i];
				s[i] = s[j];
				s[j] = t;
			}
		}
	}

	for (int i = 0; i<10; i++){
		printf("%d ", s[i]);
	}
	printf("\n");
	return 0;
}